Sets a [callback@MountOperationFactory] function that will be called when a [class@Gio.MountOperation] must be created.
This is useful for creating a [class@Gtk.MountOperation] with the parent [class@Gtk.Window].
If a mount operation factory isn't set, [ctor@Gio.MountOperation.new] will be called.
a #GtkSourceMountOperationFactory to call when a #GMountOperation is needed.
the data to pass to the @callback function.
function to call on @user_data when the @callback is no longer needed, or %NULL.
See Implementation
Sets a [callback@MountOperationFactory] function that will be called when a [class@Gio.MountOperation] must be created.
This is useful for creating a [class@Gtk.MountOperation] with the parent [class@Gtk.Window].
If a mount operation factory isn't set, [ctor@Gio.MountOperation.new] will be called.